home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 0813 / slipknot.sc_ / slipknot.sc
INI File  |  1997-04-11  |  1KB  |  58 lines

  1. [slipcommand]
  2. n=11
  3. l1=case $1 in
  4. l2=-g) echo xxx working >slipknot.status
  5. l3=./.slipgeturl "$2" &
  6. l4=echo $! >slipknot.proc ;;
  7. l5=-k) kill -9 `cat slipknot.proc` 
  8. l6=kill -9 `cat slipknot.proc2` ;;
  9. l7=-s) cat slipknot.status ;;
  10. l8=*)  echo Bad argument
  11. l9=esac
  12. l10=echo OK
  13. l11=exit
  14.  
  15. [slipcommand2-4-2]
  16. n=14
  17. l1=case $1 in
  18. l2=-g) echo xxx working >slipknot.status
  19. l3=./.slipgeturl -g "$2" "$3" "$4" "$5" "$6" &
  20. l4=echo $! >slipknot.proc ;;
  21. l5=-gio) echo xxx working >slipknot.status
  22. l6=./.slipgeturl -gio "$2" "$3" "$4" "$5" "$6" &
  23. l7=echo $! >slipknot.proc ;;
  24. l8=-k) kill -9 `cat slipknot.proc` 
  25. l9=kill -9 `cat slipknot.proc2` ;;
  26. l10=-s) cat slipknot.status ;;
  27. l11=*)  echo Bad argument
  28. l12=esac
  29. l13=echo OK
  30. l14=exit
  31.  
  32. [lynx]
  33. n=4
  34. l1=%PROG% -dump -source "$1" >slipknot.tmp &
  35. l2=echo $! >slipknot.proc2
  36. l3=wait
  37. l4=echo xxx $? done >slipknot.status
  38.  
  39. [lynx2-4-2]
  40. n=9
  41. l1=echo a >slipknot.err
  42. l2=case $1 in
  43. l3=-g) %PROG% -source -dump -noredir -error_file=slipknot.err $2 $3 $4 $5 >slipknot.tmp & ;;
  44. l4=-gio) %PROG% -source -dump -noredir -error_file=slipknot.err < $2 $3 $4 $5 >slipknot.tmp & ;;
  45. l5=*) %PROG% -source -dump -noredir -error_file=slipknot.err $2 $3 $4 $5 >slipknot.tmp & ;;
  46. l6=esac
  47. l7=echo $! >slipknot.proc2
  48. l8=wait
  49. l9=(cat slipknot.err ; echo xxx $? done) >slipknot.status
  50.  
  51. [www]
  52. n=4
  53. l1=%PROG% -n -source "$1" >slipknot.tmp &
  54. l2=echo $! >slipknot.proc2
  55. l3=wait
  56. l4=echo xxx $? done >slipknot.status
  57.  
  58.